<% unless @payment_url %>
<div id="card_error">
  <%= flash[:error] %>
</div>
<% else %>
<p>This transaction will expire in <%= TRANSACTION_LIFETIME %> minutes. Please finish payment within <%= TRANSACTION_LIFETIME %> minutes.</p>
<a href=<%= @payment_url %> target='_parent' class="button">Proceed to Payment</a>
<% end %>